package com.zzw.bean;

import com.alibaba.excel.annotation.ExcelIgnore;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;

/**
 * @author 赵志伟
 * @version 1.0
 */
@SuppressWarnings({"all"})
public class BasicEntity {

    @ExcelIgnore // 不导出该字段
    private Integer userId;

    @ExcelIgnore // 不导出该字段
    private List<String> selectedIds;

    @ExcelIgnore // 不导出该字段
    private Map<String, Object> params;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public List<String> getSelectedIds() {
        return selectedIds;
    }

    public void setSelectedIds(List<String> selectedIds) {
        this.selectedIds = selectedIds;
    }

    public Map<String, Object> getParams() {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }
}
